<?php
return array(
	'session_db' => array(
		'adapter' => 'PDO_Mysql',
		'params'  => array(
			'host'     => 'localhost',
			'username' => 'root',
			'password' => '',
			'dbname'   => 'ttportal2',
			'driver_options'  => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'")
		)
	),
    'old_db' => array(
        'adapter' => 'PDO_Mysql',
        'params'  => array(
        'host'     => 'localhost',
        'username' => 'root',
        'password' => '',
        'dbname'   => 'ttportal2',
    		'driver_options'  => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'")
        )
    ),	
    'master_db' => array(
        'adapter' => 'PDO_Mysql',
        'params'  => array(
            'host'     => 'localhost',
            'username' => 'root',
            'password' => '',
            'dbname'   => 'tamtay_core',
    		'driver_options'  => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'")
        )
    ),
    'slave_dbs' => array(
    	'slave_db1' => array(
	    	'adapter' => 'PDO_Mysql',
	        'params'  => array(
              'host'     => 'localhost',
              'username' => 'root',
              'password' => '',
              'dbname'   => 'tamtay_core',
				'driver_options'  => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'")
	        )	
    	),
        'slave_db2' => array(
	    	'adapter' => 'PDO_Mysql',
	        'params'  => array(
              'host'     => 'localhost',
              'username' => 'root',
              'password' => '',
              'dbname'   => 'tamtay_core',
				'driver_options'  => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'")
	        )	
    	),
    	'slave_db3' => array(
	    	'adapter' => 'PDO_Mysql',
	        'params'  => array(
              'host'     => 'localhost',
              'username' => 'root',
              'password' => '',
              'dbname'   => 'tamtay_core',
				'driver_options'  => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'")
	        )	
    	)
    ),
    
    'memcached' => array(
		'servers' => array(
			'server_1' => array(
				'host' => '192.168.1.223',
				'port' => '11211',
				'persistent' => true
			),
			'server_2' => array(
				'host' => '192.168.1.223',
				'port' => '11211',
				'persistent' => true
			)
		),
		'compression' => false
	),
    'memcachedb' => array(
		'servers' => array(
			'server_1' => array(
				'host' => 'localhost',
				'port' => '21201',
				'persistent' => true
			),
			'server_2' => array(
				'host' => 'localhost',
				'port' => '21201',
				'persistent' => true
			)
		),
		'compression' => false
    )
);

